package com.day21me.java;

import java.net.ServerSocket;
import java.net.Socket;

//本类用于演示多次客户端请求例子的服务器端
public class SixTest {
    public static void main(String[] args) {
        try {
            ServerSocket ss = new ServerSocket(1456);
            while (true) {
                Socket socket = ss.accept();

            }
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
